public class BNode {

		public String value;
		public BNode left;
		public BNode right;
		public BNode parent;
		public boolean bool;
		public boolean isRoot;

		public BNode(String str) {
			this.value = str;
			this.left = null;
			this.right = null;
			this.parent = null;
			this.bool = true;
			this.isRoot = false;
		}

		public String getVal() {
			return this.value;
		}

		public BNode getLeftChild() {
			return this.left;
		}

		public BNode getRightChild() {
			return this.right;
		}

		public BNode getParent() {
			return this.parent;
		}
}